﻿using System.ComponentModel.DataAnnotations;

namespace DEL.Gzh
{
    //业务类别
    public class YWLB:BaseT
    {
        [Display(Name = "父级ID")]
        public int ParentId { get; set; }

        [Display(Name = "序号")]
        public int SerialNumber { get; set; }

        [Required]
        [Display(Name = "业务类别名称")]
        public string Name { get; set; }

        [Display(Name = "业务类别图片")]
        [FileExtensions(Extensions = ".jpg,.png", ErrorMessage = "图片格式错误")]
        public string PicPath { get; set;}

        //[Display(Name = "描述")]
        //public string Description { get; set; }

        [Display(Name = "办事地点")]
        public string OfficeAddress{ get; set; }

        [Display(Name = "咨询电话")]
        public string OfficeTel { get; set; }

        [Display(Name = "材料预审")]
        public bool IsClys { get; set; }
    }
}
